/**
 * 
 */
var signup = function(){
	var arg = $("#loginId").attr("value");
	if(arg != null && typeof arg === "string" && arg.length > 0){
		if(confirm("are you sure to register?")){
			$("#signup").submit();
		}
	}else{
		$("#dlg").dialog({title : "Mike LocRec", width : 300, height : 200});
		$("#message").text("loginId should be input.");
	}
};

var closeDlg = function(){
	$("#dlg").hide();
};
